using System;
using Volo.Abp;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;
using System.ComponentModel.DataAnnotations;

namespace Business.Models
{
    /// <summary>
    /// 采购计划
    /// </summary>
    public class Plan: AuditedAggregateRoot<Guid>, ISoftDelete, IMultiTenant
    {
        public Guid? TenantId { get; set; }
        
        /// <summary>
        /// 计划单号
        /// </summary>
        [Required]
        public string Odd { get; set; }
        
        /// <summary>
        /// 计划数量
        /// </summary>
        [Required]
        public string Number { get; set; }
        
        /// <summary>
        /// 计划员
        /// </summary>
        [Required]
        public string Planner { get; set; }
        
        /// <summary>
        /// 已订货数量
        /// </summary>
        [Required]
        public string Ordernumber { get; set; }
        
        /// <summary>
        /// 备注
        /// </summary>
        [Required]
        public string Remark { get; set; }
        
        /// <summary>
        /// 状态
        /// </summary>
        [Required]
        public string State { get; set; }
        
        /// <summary>
        /// 计划日期
        /// </summary>
        [Required]
        public DateTime Projectdate { get; set; }
        
        /// <summary>
        /// 计划类型
        /// </summary>
        [Required]
        public string Types { get; set; }
        
		
		public bool IsDeleted { get; set; }
    }
}